<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/header.jsp" %>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>重置密码</title>
<script type="text/javascript">
if("${error}"=="0"){
	   closeMyDialog({flag:true});
	 }else if("${error}"=="1"){
	   myAlert("错误信息","${msg}","e");
	 }
	 $(function(){
		 $("#cancelBtn").click(function(){
    		 closeMyDialog();
    	 });
	     $("#importBtn").click(function(){
	    	  $("form").submit();
		});
	});
</script>
<title>导入通用页面</title>
</head>
<body class="easyui-layout" fit="true">
    <div data-options="region:'north',border:false" class="editHeadDiv"><span class="icon-tip">&nbsp;&nbsp;&nbsp;</span>&nbsp;提示信息：<font class="requiredmark">*</font>为必填字段！</div>
    <div data-options="region:'center',border:false" class="editContDiv">
      <form action="${base}${importUrl}" class="easyui-form" method="post" data-options="novalidate:true" enctype="multipart/form-data">
         <div style="padding:0px 10px;">
         <input class="easyui-filebox" name="file" data-options="prompt:'选择文件...'" style="width:95%"/>
         </div>
    </form>
    </div>
	<div data-options="region:'south',border:false" class="editBtnDiv">
	    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok'" style="width:60px;" id="importBtn">导入</a>
		<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" style="width:60px;" id="cancelBtn">取消</a>
	</div>
</body>
</html>